<h1>Listing answer_types</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Form template</th>
    <th>Display template</th>
  </tr>

<% for answer_type in @answer_types %>
  <tr>
    <td><%=h answer_type.name %></td>
    <td><%=h answer_type.form_template %></td>
    <td><%=h answer_type.display_template %></td>
    <td><%= link_to 'Show', answer_type %></td>
    <td><%= link_to 'Edit', edit_answer_type_path(answer_type) %></td>
    <td><%= link_to 'Destroy', answer_type, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New answer_type', new_answer_type_path %>
